
package com.platform.security.exception;


import org.springframework.http.HttpStatus;

public class WxErrorException extends Authentication2Exception {
    public WxErrorException(String msg) {
        super(msg);
    }

    @Override
    public String getOAuth2ErrorCode() {
        return "wx_error_exception";
    }

    @Override
    public int getHttpErrorCode() {
        return HttpStatus.BAD_REQUEST.value();
    }
}
